package com.jyhz.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @author:谢君臣
 * @Date:2021/7/9-12:54
 * @version:1.0
 * @function:
 */
@Controller
public class ApiController {

    @ApiIgnore
    @RequestMapping(value = {"/swagger","/api"})
    public String swaggerPage() {
        return "redirect:doc.html";
    }

}
